package com.kehao.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @学生班级实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("class_table")
public class StuClass {

    @TableId("id")
    private Integer id;
    @TableField("username")
    private String userName;
    @TableField("password")
    private String password;
    @TableField("student_id")
    private String studentId;
    @TableField("math_score")
    private BigDecimal mathScore;
    @TableField("chinese_score")
    private BigDecimal chineseScore;
    @TableField("english_score")
    private BigDecimal englishScore;
    @TableField("status")
    private String status;
    @TableField("enrollment_date")
    private LocalDateTime enrollmentDate;
    @TableField("update_time")
    private LocalDateTime updateTime;

}
